package com.zb777.shuzhilingxi.Pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 用户登录响应VO
 */
@Data
@Schema(description = "用户登录响应结果")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginVO {

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "用户名", example = "john_doe")
    private String userName;

    @Schema(description = "头像URL", example = "https://example.com/avatar.jpg")
    private String profilePicture;

   /* @Schema(description = "JWT令牌", example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
    private String token;*/

    @Schema(description = "用户积分/令牌余额", example = "100")
    private Integer tokenBalance;

    @Schema(description = "令牌有效期", example = "2023-09-30T12:00:00Z")
    private String accessToken;
    @Schema(description = "刷新令牌有效期", example = "2023-09-30T12:00:00Z")
    private String refreshToken;


}